package cn.finyzq.ss.games.utils;

/**
 * Create Time: 2018年04月25日 13:25
 *
 * @author fin
 */
public final class ResultCode {



    private ResultCode() {
    }

    public static final int SUCCESS = 200;
    public static final int NORMAL_ERROR = 498;

    /**
     * 用户登录
     */
    public static final int NO_ACCESS = 1001;
    public static final int AUTH_CODE_CAN_NOT_BE_NULL = 1002;
    public static final int USER_NOT_FOUND = 1003;
    public static final int INSERT_USER_FAIL = 1004;


    /**
     * 房间错误码
     */
    public static final int USER_ALREADY_HAVE_ROOM = 6001;
    public static final int CREATE_ROOM_FAIL = 6002;
    public static final int ROOM_NOT_FOUND = 6003;

    /**
     * WebSocket错误
     */
    public static final int WS_ROOM_BLANK = 7001;
    public static final int WS_MSG_TYPE_BLANK = 7002;

}
